package excercise;

public class Q39_Smartphone {

	private String maker;
	private int price;
	private String commtype;
	private int osver;
	private int inmemsize;
	private boolean iscam;
	private boolean isblue;
	
	
	public Q39_Smartphone(){
		
		maker = "";
		price = 0;
		commtype = "";
		osver = 0;
		inmemsize = 0;
		iscam = false;
		isblue = false;
		
	}
	
	public Q39_Smartphone(String maker, int price, String commtype, int osver, int inmemsize, boolean iscam, boolean isblue){
		
		this.maker = maker;
		this.price = price;
		this.commtype = commtype;
		this.osver = osver;
		this.inmemsize = inmemsize;
		this.iscam = iscam;
		this.isblue = isblue;
		
	}
	
	public void setMaker(String maker){
		
		this.maker = maker;
		
	}
	
	public String setMaker(){
		
		return maker;
		
	}
	
	public void setPrice(int price){
		
		this.price = price;
		
	}
	
	public int setPrice(){
		
		return price;
		
	}
	
	public void setCommtype(String commtype){
		
		this.commtype = commtype;
		
	}
	
	public String setCommtype(){
		
		return commtype;
		
	}
	
	public void setOsver(int osver){
		
		this.osver = osver;
		
	}
	
	public int setOsver(){
		
		return osver;
		
	}
	public void setInmemsize(int inmemsize){
		
		this.inmemsize = inmemsize;
		
	}
	
	public int setInmemsize(){
		
		return inmemsize;
		
	}
	
	public void setIscam(boolean iscam){
		
		this.iscam = iscam;
		
	}
	
	public boolean setIscam(){
		
		return iscam;
		
	}
	public void setIsblue(boolean isblue){
		
		this.isblue = isblue;
		
	}
	
	public boolean setIsblue(){
		
		return isblue;
		
	}
	
}
